package com.hdu.careerplan.exception;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class WrongKeyInJwtException extends Exception{

    private final String wrongKey;

    public WrongKeyInJwtException(String wrongKey) {
        this.wrongKey = wrongKey;
    }

    public void printWrongKey() {
        log.info("key '{}' shouldn't in this jwt", this.wrongKey);
    }

}
